package cn.fr4nk.crawler.thread;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import cn.fr4nk.crawler.task.CrawlerTask;
import cn.fr4nk.crawler.task.TaskStore;

public class CrawlerRunnable extends HandlerRunnable<CrawlerTask> {
	
	private static Log log = LogFactory.getLog(CrawlerRunnable.class);

	@Override
	protected CrawlerTask getHandleTask() throws Exception {
		return TaskStore.getInstance().fetchTodo();
	}

}
